﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PMS.Models.Work
{
    ///<summary>
    ///人员信息表的实体类
    ///</summary>
    [Table("PersonInfo")]
    public class PersonInfo
    {
        /// <summary>
        /// id
        /// </summary>
        [Key]
        [Column("Id")]
        public int Id { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        [Column("Name", TypeName = "nvarchar(32)")]
        public string Name { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        [Column("Sex")]
        public int Sex { get; set; }
        /// <summary>
        /// 生日
        /// </summary>
        [Column("BirthDay")]
        public System.DateTime BirthDay { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        [Column("IdCard")]
        public string IdCard { get; set; }
        /// <summary>
        /// 毕业院校
        /// </summary>
        [Column("School", TypeName = "nvarchar(32)")]
        public string School { get; set; }
        /// <summary>
        /// 专业
        /// </summary>
        [Column("Profession", TypeName = "nvarchar(32)")]
        public string Profession { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        [Column("Phone")]
        public string Phone { get; set; }
        /// <summary>
        /// email
        /// </summary>
        [Column("Email", TypeName = "nvarchar(32)")]
        public string Email { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        [Column("IsDel")]
        public int IsDel { get; set; }
        /// <summary>
        /// createBy
        /// </summary>
        [Column("CreateBy")]
        public int CreateBy { get; set; }
        /// <summary>
        /// CreateDate
        /// </summary>
        [Column("CreateDate")]
        public System.DateTime CreateDate { get; set; }
        /// <summary>
        /// modifyBy
        /// </summary>
        [Column("ModifyBy")]
        public int ModifyBy { get; set; }
        /// <summary>
        /// ModifyDate
        /// </summary>
        [Column("ModifyDate")]
        public System.DateTime ModifyDate { get; set; }
        /// <summary>
        /// deleteBy
        /// </summary>
        [Column("DeleteBy")]
        public int DeleteBy { get; set; }
        /// <summary>
        /// DeleteDate
        /// </summary>
        [Column("DeleteDate")]
        public System.DateTime DeleteDate { get; set; }
    }
}